labbuildr Support for LINUX/OSX
with powershell on OSX/LINUX labbuildr will start to support labbuildr on OSX and Linux this will incude: vmxtoolkit labbuildr-scripts labtools labbuildr
See LINUX VIDEO for a demo
Note: some scenarios require extraction of packages vi EXE files. as they might fail, Labbuiuldr will pause when the Programs are not found from VM´s ( E2013/2010, scom as an example). YOu may need to extraxt then manually from within guest. this will be changed in future by running those jobs from dcnode !
Requirements on OSX
to run vmxtoolkit on OSX, you need to have
PowerShell for OSX installed
.Net Core
* p7zip /rudix
see PowerShell for OSX for instructions it is also recommended to install .NET Core for OSX from for details on installation of .NET Core LIBS see .NET Core on MACOS
OSX port is currently only available via Git clone, no auto installer
as i decided to use 7zip on all platforms as Primary master Distribution Format, please install p7zip !
i recommend rudix for p7zip
RUDIX and p7zip
curl -s https://raw.githubusercontent.com/rudix-mac/rpm/2015.10.20/rudix.py | sudo python - install rudix
sudo rudix install p7zip
Requirements on LINUX
to run vmxtoolkit on LINUX, you need to have PowerShell for LINUX installed
see PowerShell for LINUX for instructions
it is also recommended to install .NET Core for OSX from for details on installation of .NET Core LIBS see .NET Core on LINUX
i also require p7zip, curl and git on your Linux Distribution
Ubuntu
sudo apt-get install p7zip-full curl git -y
LINUX requires the vmnet´s to be configured in VMware Workstation
Before testing the first scenario you should create your VMnet ( default: VMnet2) with the VMware Virtual Network Editor. Labbuildr is using this net. When you try to start you first test VM Receive-LABOpenWRT -unzip | Start-VMX VMware workstation is complaining that it is not possible to set a network adapter to Promiscuous Mode. Below a VMware KB how to fix that. https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=287#.V-De9Q28qRE.email
Install labbuildr on OSX/LINUX
labbuildr on linux/osx can be installed using from PSGallery powershell install-script method
install-script install-labbuildr
install-labbuildr.ps1
see this video for details video
USAGE
Automatic start via profile.ps1
once labbuildr labbuildr must start the labbuildr shell with the included profile.ps1
powershell
./profile.ps1
updates can be run by
./build-lab.ps1 -update
create a launcher icon on (ubuntu) linux
create a file named labbuildr.desktop on your desktop
touch ~/Desktop/labbuildr.desktop
edit the file and adjust to you settings:
[Desktop Entry]
Name=labbuildr 2017
Path=/home/bottk/Downloads/labbuildr
Type=Application
GenericName[en_US]=Powershell
Exec=/usr/bin/powershell -NoExit -command ./profile.ps1
Comment[en_US]=Execute labbuildr
Terminal=true
Icon=/home/bottk/Pictures/labbuildr
this should generate launcher icon